package com.example.demo.pojo.Competitions;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
public class UserCompetitions {

    @Id
    @TableId(type = IdType.AUTO)
    private Integer userCompetitionId; // 用户参赛ID

    private Integer userId; // 用户ID

    private String realName;//用户真实姓名


    private Integer competitionId; // 大赛ID

    private String status; // 状态（如“参加”、“退出”）

}
